A Direct Test of Legislative Gatekeeping
	Sebastian Thieme

Please contact Sebastian Thieme at <sthieme@princeton.edu> if you have any problems with or questions about these replication files.

September 15, 2020

INSTRUCTIONS
=============

The file replication_code_article.R summarizes the estimates to replicate the figures and results in the article. It relies on the following RData files: 

ST20_LSQ_replication1.Rdata,
ST20_LSQ_replication2.Rdata.


The file replication_code_appendix.R replicates the results in the online appendix. The code is organized to enable replication by individual section and figure. The code relies on the following RData files:

ST20_LSQ_replication1.Rdata,
ST20_LSQ_replication2.Rdata,
ST20_LSQ_replication_IA_estimation.RData,
ST20_LSQ_replication_NE_estimation.RData,
ST20_LSQ_replication_WI_estimation.RData,
ST20_LSQ_replication_Appendix_F1_1.RData,
ST20_LSQ_replication_Appendix_F1_2.RData,
ST20_LSQ_replication_Appendix_F1_3.RData,
ST20_LSQ_replication_Appendix_F2_1.RData,
ST20_LSQ_replication_Appendix_F2_2.RData,
ST20_LSQ_replication_Appendix_F2_3.RData,
ST20_LSQ_replication_Appendix_G.RData,
ST20_LSQ_replication_Appendix_H1_1.RData,
ST20_LSQ_replication_Appendix_H1_2.RData,
ST20_LSQ_replication_Appendix_H3_1.RData,
ST20_LSQ_replication_Appendix_H3_2.RData.

=====

The files model_ia.R, model_ne.R, and model_wi.R contain the code to estimate the joint model using the Iowa, Nebraska, and Wisconsin data, respectively. They rely on the RData files ST20_LSQ_replication_IA_pre-estimation.RData, ST20_LSQ_replication_NE_pre-estimation.RData, and ST20_LSQ_replication_WI_pre-estimation.RData.
 
=====

The file ST20_LSQ_replication_Appendix_G.RData contains data from the following sources:

Bonica, Adam. 2015. "Database on ideology, money in politics, and elections (DIME)." https://doi.org/10.7910/DVN/O5PX0B, Harvard Dataverse, V3.

	- contributor and recipient data

Thieme, Sebastian, 2019, "Replication Data for: Moderation or Strategy? Political Giving by Corporations and Trade Groups." https://doi.org/10.7910/DVN/DQCFUN/6CP8MB, Harvard Dataverse, V1.

	- data on the type of lobbying principal 